<?xml version="1.0" encoding="utf-8"?>

<animfile>
	<definebone>Bip01 Prop1</definebone>
	<definebone>Bip01 Prop2</definebone>
	<submodel>
		Shovel
		<attachment>
			shovel
			<include>nuggets\pirates\attachment_shovel.xml</include>
		</attachment>
		<attachment>
			hat
			<component>
				hat
				<assetreference type="GrannyModel">
					<file>units\asians\shared\villager\japanese_male_peasant_hat</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>hat</component>
			</anim>
		</attachment>
		<component>
			Villager
			<logic type="Variation">
				<v1>
					<assetreference type="GrannyModel">
						<file>units\asians\shared\villager\jpn_villager_female</file>
					</assetreference>
				</v1>
				<v2>
					<assetreference type="GrannyModel">
						<file>units\asians\shared\villager\japanese_male_peasant</file>

					</assetreference>
					<attach a="hat" frombone="bone_hat" tobone="Bip01 head" syncanims="0"/>
				</v2>
			</logic>
			<attach a="shovel" frombone="MASTER" tobone="Bip01 Prop2" syncanims="0"/>
		</component>
		<anim>
			Idle
			<assetreference type="GrannyAnim">
				<file>nuggets\pirates\pirate_diga</file>
			</assetreference>
			<component>Villager</component>
		</anim>
	</submodel>
	<submodel>
		Pickaxe
		<attachment>
			hat
			<component>
				hat
				<assetreference type="GrannyModel">
					<file>units\asians\shared\villager\japanese_male_peasant_hat</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>hat</component>
			</anim>
		</attachment>
		<attachment>
			pickaxe
			<component>
				pickaxe
				<assetreference type="GrannyModel">
					<file>units\attachments\pickaxe_villager</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>pickaxe</component>
			</anim>
		</attachment>
		<component>
			Villager
			<logic type="Variation">
				<v1>
					<assetreference type="GrannyModel">
						<file>units\asians\shared\villager\jpn_villager_female</file>
					</assetreference>
				</v1>
				<v2>
					<assetreference type="GrannyModel">
						<file>units\asians\shared\villager\japanese_male_peasant</file>
					</assetreference>
					<attach a="hat" frombone="bone_hat" tobone="Bip01 head" syncanims="0"/>
				</v2>
			</logic>
			<attach a="pickaxe" frombone="MASTER" tobone="Bip01 Prop1" syncanims="0"/>
		</component>
		<anim>
			Idle
			<assetreference type="GrannyAnim">
				<file>animation_library\villager\villager_male_gathermine1</file>
			</assetreference>
			<component>Villager</component>
		</anim>
	</submodel>
	<submodel>
		Saw
		<attachment>
			hat
			<component>
				hat
				<assetreference type="GrannyModel">
					<file>units\asians\shared\villager\japanese_male_peasant_hat</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>hat</component>
			</anim>
		</attachment>
		<attachment>
			saw
			<component>
				saw_villager
				<assetreference type="GrannyModel">
					<file>units\attachments\saw_villager</file>
				</assetreference>
			</component>
			<anim>
				Idle
				<component>saw_villager</component>
			</anim>
		</attachment>
		<component>
			Villager
			<logic type="Variation">
				<v1>
					<assetreference type="GrannyModel">
						<file>units\asians\shared\villager\jpn_villager_female</file>
					</assetreference>
				</v1>
				<v2>
					<assetreference type="GrannyModel">
						<file>units\asians\shared\villager\japanese_male_peasant</file>
					</assetreference>
					<attach a="hat" frombone="bone_hat" tobone="Bip01 head" syncanims="0"/>
				</v2>
			</logic>
			<attach a="saw" frombone="MASTER" tobone="Bip01 Prop1" syncanims="0"/>
		</component>
		<anim>
			Idle
			<assetreference type="GrannyAnim">
				<file>animation_library\2_leg_task\human_saw_standing</file>
				<weight>90</weight>
			</assetreference>
			<assetreference type="GrannyAnim">
				<file>animation_library\2_leg_task\human_saw_standing_idlea</file>
				<weight>10</weight>
			</assetreference>
			<component>Villager</component>
		</anim>
	</submodel>
	<component>
		ModelComp
			<logic type="Variation">
				<data>
					<submodelref ref="Shovel"/>
				</data>
				<data>
					<submodelref ref="Pickaxe"/>
				</data>
				<data>
					<submodelref ref="Saw"/>
				</data>
			</logic>
	</component>
</animfile>